package com.lfs.admin.enums;


import lombok.Getter;
import lombok.Setter;


@Getter
public enum TaskStatusEnums {

    PENDING("等待", "1"),
    PROCESSING("运行中", "2"),
    COMPLETED("已完成", "3"),
    FAILED("失败", "4");

    private final String name;
    private final String code;

    // 构造方法
    private TaskStatusEnums(String name, String code) {
        this.name = name;
        this.code = code;
    }

}
